package com.luo.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author xiangnan
 * @date 2018/1/25 16:52
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "app.shared.jedis")
public class SharedJedisConfig {

    private int timeout;

    private List<String> hostPortList;
}
